package com.simple.simple_view.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
//import com.simple.simple_view.domain.entity.Video;
import com.simple.simple_view.domain.entity.Video;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 视频表(Video)表数据库访问层
 *
 * @author makejava
 * @since 2023-10-26 16:08:19
 */
@Mapper
public interface VideoMapper extends BaseMapper<Video> {

    void incrementLikesByIds(List<Long> videoId);

    void incrementLikesById(Long videoId);
    void decrementLikesById(Long videoId);
}

